package com.zhuang.blog.back.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Classname User
 * @Description User pojo
 * @Date 2021/10/29 23:05
 * @Author by zhuang
 */
@Data
@Table(name = "t_user")
@NameStyle(Style.normal)
public class User {

    @Id
    private String uid;
    private String username;
    private String nickname;
    private String password;
    private String role;
    private String createTime;
    private String lastLoginTime;
    private String state;
    private String loginIp;
    private String phone;
    private String loginCout;
    private String img;

}
